.PHONY:all
all:optimize mythread

mythread:mythread.cc
	g++ -o $@ $^ -lpthread -std=c++11

optimize:optimize.cc 
	g++ -o $@ $^ -lpthread -std=c++11

.PHONY:clean
clean:
	rm -rf mythread optimize
